package com.szchenya.epermit.controller;


import com.szchenya.epermit.util.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test/api")
@Api(tags = "测试接口")
public class TestController {


    @GetMapping("/hello")
    @ApiOperation("hello")
    public Result hello() {
        return Result.success("hello");
    }
}
